home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / plnk081.zip / pilot-link.0.8.1 / include / pi-todo.h < prev    next >
C/C++ Source or Header  |  1997-08-03  |  849b  |  40 lines

  1. #ifndef _PILOT_TODO_H_
  2. #define _PILOT_TODO_H_
  3.  
  4. #include "pi-args.h"
  5. #include "pi-appinfo.h"
  6.  
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10.  
  11. struct ToDo {
  12.   int indefinite;
  13.   struct tm due;
  14.   int priority;
  15.   int complete;
  16.   char * description;
  17.   char * note;
  18. };
  19.  
  20. struct ToDoAppInfo {
  21.   struct CategoryAppInfo category;
  22.   int dirty;
  23.   int sortByPriority;
  24. };
  25.  
  26. extern void free_ToDo PI_ARGS((struct ToDo *));
  27. extern int unpack_ToDo PI_ARGS((struct ToDo *, unsigned char * record, int len));
  28. extern int pack_ToDo PI_ARGS((struct ToDo *, unsigned char * record, int len));
  29. extern int unpack_ToDoAppInfo PI_ARGS((struct ToDoAppInfo *, unsigned char * record, int len));
  30. extern int pack_ToDoAppInfo PI_ARGS((struct ToDoAppInfo *, unsigned char * record, int len));
  31.  
  32. #ifdef __cplusplus
  33. }
  34.  
  35. #include "pi-todo.hxx"
  36.  
  37. #endif /*__cplusplus*/
  38.  
  39. #endif /* _PILOT_TODO_H_ */
  40.